<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="UTF-8">
    <title>数据管理系统</title>
    <meta name="keywords" content="腐蚀数据,腐蚀与防护,中国腐蚀与防护平台" />
    <meta name="description"
        content="中国腐蚀与防护网是国家级的腐蚀与防护专业网站。我们向用户提供公益性的腐蚀数据，定制化防腐技术，以及全方位的防腐资讯。我们拥有我国最权威、最全面、最快捷的材料腐蚀（老化）数据共享服务平台；我们分享行业动态、专业知识、防护技术、文献资料、科研成果等信息资源；我们提供科学数据、环境试验、检测分析、技术咨询及成果推广全方位服务。" />
    <link rel="stylesheet" type="text/css" href="/static/index/css/reset_1.css" />
    <link rel="stylesheet" type="text/css" href="/static/index/css/index.css" />
    <link rel="stylesheet" type="text/css" href="/static/index/css/index_fs.css?123" />
    <script type="text/javascript" src="/static/js/jquery.min.js"></script>
</head>

<body>
    <!--logo-->
    <div class="header inner_c">
        <h1><a href="http://www.ecorr.org/" target="_blank" title="中国腐蚀与防护网" title="中国腐蚀与防护网">中国腐蚀与防护网</a></h1>
    </div>
    <!--logo end-->

    <!--搜索div-->
    <div class="search inner_c">
        <form action="/datalist.html" accept-charset="utf-8" class="search" id="dw__search" method="get" role="search"
            target="_blank">
            <input id="search-box" type="text" name="q" accesskey="f" class="places-autocomplete fl"
                placeholder="请输入关键字">
            <div class="leimu fl">
                <select class="datepicker" id="sel_Sub" name="classid">
                    <option value="">请选数据表</option>
                    {foreach $categories as $value}
                        <option value="{$value.tablename}=={$value.id}">{$value.name}{$value.tablename ?? '('.$value.tablename.')'}</option>
                        {notempty name="value.child"}
                            {foreach $value.child as $val}
                            <option value="{$val.tablename}=={$val.id}">--{$val.name}{$val.tablename ?? '('.$val.tablename.')'}</option>
                            {notempty name="val.child"}
                                {foreach $val.child as $vo}
                                <option value="{$vo.tablename}=={$vo.id}">&nbsp;&nbsp;└ --{$vo.name}({$vo.tablename ?? '('.$vo.tablename.')'})</option>
                                {/foreach} 
                            {/notempty}
                            {/foreach}
                        {/notempty} 
                    {/foreach}
                </select>
            </div>
            <div class="btn btn-jp-green fl" id="search_button" onclick="search()">搜&nbsp;&nbsp;&nbsp;索</div>
            <!-- 隐藏的earror div -->
            <div id="errmsg" class="fl"></div>
            <!-- 隐藏的earror div end-->
        </form>
        <script>
            function search() {
                var tc = $("#sel_Sub").val();
                var query = $("#search-box").val();
                if (!tc) {
                    $("#errmsg").html("请选择数据表");
                    return false;
                }
                arr = tc.split('==');
        
                if (!arr[0]) {
                    $("#errmsg").html("请选择数据表");
                    return false;
                }
                window.location.href='/index/data_content/datalist/cid/'+arr[1]+'/tablename/'+arr[0]+'.html?q='+query;
            }
        </script>
    </div>
    <!--搜索div end-->

    <!--banner图-->
    <div class="banner">
        <div class="h52 cl inner_c"></div>
        <div class="h120 inner_c"></div>
    </div>
    <!--banner图 end-->

    <!--主体内容-->
    <div class="m_main inner_c">
        <!-- 材料数据 -->
        <div class="con_block">
            <div class="m_col" style="margin-left: 5px;">
                <h1 class="m_tit">{$data_clsj.name}<a class="m_tit_more"
                        href="{:url('data_content/edataclass', 'cid='.$data_clsj.id)}" target="_blank">更多&gt;&gt;</a>
                </h1>
                <div class="m_col_con" id="clsj">
                    {foreach $data_clsj.child as $value}
                    <div class="m_con_child fl">
                        <h2 class="m_con_t">{$value.name}
                        </h2>
                        <ul class="m_con_list">
                            {foreach $value.child as $val}
                            <li style="margin-top:10px">
                                <a href="{:url('data_content/datalist', ['cid'=>$val.id, 'tablename'=>$val.tablename])}"
                                    title="{$val.name}" target="_blank">
                                    <span class="word">{$val.name}</span>
                                    <span class="count">{$val.onclick}</span>
                                </a>
                            </li>
                            {/foreach}
                        </ul>
                    </div>
                    {/foreach}
                </div>
            </div>
        </div>
        <!-- 环境数据 -->
        <div class="con_block">
            <div class="m_col" style="margin-left: 5px;">
                <h1 class="m_tit">{$data_hjsj.name}<a class="m_tit_more"
                        href="{:url('data_content/edataclass', 'cid='.$data_hjsj.id)}" target="_blank">更多&gt;&gt;</a>
                </h1>
                <div class="m_col_con" id="hjsj">
                    {foreach $data_hjsj.child as $value}
                    <div class="m_con_child fl">
                        <h2 class="m_con_t">{$value.name}
                        </h2>
                        <ul class="m_con_list">
                            {foreach $value.child as $val}
                            <li style="margin-top:10px">
                                <a href="{:url('data_content/datalist', ['cid'=>$val.id, 'tablename'=>$val.tablename])}"
                                    title="{$val.name}" target="_blank">
                                    <span class="word">{$val.name}</span>
                                    <span class="count">{$val.onclick}</span>
                                </a>
                            </li>
                            {/foreach}
                        </ul>
                    </div>
                    {/foreach}
                </div>
            </div>
        </div>
        <!-- 腐蚀数据 -- 测试资源-->
        <div class="con_block">
            <div class="m_col2 fl">
                <h1 class="m_tit">{$data_fssj.name}<a class="m_tit_more"
                        href="{:url('data_content/edataclass', 'cid='.$data_fssj.id)}" target="_blank">更多&gt;&gt;</a>
                </h1>
                {foreach $data_fssj.child as $value}
                <div class="m_con_child fl">
                    <h2 class="m_con_t">{$value.name}
                    </h2>
                    <ul class="m_con_list">
                        {foreach $value.child as $val}
                        <li style="margin-top:10px">
                            <a href="{:url('data_content/datalist', ['cid'=>$val.id, 'tablename'=>$val.tablename])}"
                                title="{$val.name}" target="_blank">
                                <span class="word">{$val.name}</span>
                                <span class="count">{$val.onclick}</span>
                            </a>
                        </li>
                        {/foreach}
                    </ul>
                </div>
                {/foreach}
            </div>
            <div class="m_col2 fl" style="height: 285px;margin-left: 36px;">
                <h1 class="m_tit">{$data_cszy.name}<a class="m_tit_more"
                        href="{:url('data_content/edataclass', 'cid='.$data_cszy.id)}" target="_blank">更多&gt;&gt;</a>
                </h1>
                {foreach $data_cszy.child as $value}
                <div class="m_con_child fl">
                    <h2 class="m_con_t">{$value.name}
                    </h2>
                    <ul class="m_con_list">
                        {foreach $value.child as $val}
                        <li style="margin-top:10px">
                            <a href="{:url('data_content/datalist', ['cid'=>$val.id, 'tablename'=>$val.tablename])}"
                                title="{$val.name}" target="_blank">
                                <span class="word">{$val.name}</span>
                                <span class="count">{$val.onclick}</span>
                            </a>
                        </li>
                        {/foreach}
                    </ul>
                </div>
                {/foreach}
            </div>
        </div>

        <!-- 电化学数据 -- 信息资源 -->
        <div class="con_block">
            <div class="m_col2 fl">
                <h1 class="m_tit">{$data_dhxsj.name}<a class="m_tit_more"
                        href="{:url('data_content/edataclass', 'cid='.$data_dhxsj.id)}" target="_blank">更多&gt;&gt;</a>
                </h1>
                <div class="m_con_child fl">
                    <h2 class="m_con_t">&nbsp;
                    </h2>
                    <ul class="m_con_list">
                        {foreach $data_dhxsj.child as $value}
                        <li style="margin-top:10px">
                            <a href="{:url('data_content/datalist', ['cid'=>$value.id, 'tablename'=>$value.tablename])}"
                                title="{$value.name}" target="_blank">
                                <span class="word">{$value.name}</span>
                                <span class="count">{$value.onclick}</span>
                            </a>
                        </li>
                        {/foreach}
                    </ul>
                </div>
            </div>
            <div class="m_col2 fl" style="margin-left: 36px;">
                <h1 class="m_tit">{$data_xxzy.name}<a class="m_tit_more"
                        href="{:url('data_content/edataclass', 'cid='.$data_xxzy.id)}" target="_blank">更多&gt;&gt;</a>
                </h1>
                {foreach $data_xxzy.child as $value}
                <div class="m_con_child fl">
                    <h2 class="m_con_t">{$value.name}
                    </h2>
                    <ul class="m_con_list">
                        {foreach $value.child as $val}
                        <li style="margin-top:10px">
                            <a href="{:url('data_content/datalist', ['cid'=>$val.id, 'tablename'=>$val.tablename])}"
                                title="{$val.name}" target="_blank">
                                <span class="word">{$val.name}</span>
                                <span class="count">{$val.onclick}</span>
                            </a>
                        </li>
                        {/foreach}
                    </ul>
                </div>
                {/foreach}
            </div>
        </div>

        <!-- 图谱数据 -->
        <div class="con_block">
            <div class="m_col" style="margin-left: 5px;">
                <h1 class="m_tit">{$data_tpsj.name}<a class="m_tit_more"
                    href="{:url('data_content/edataclass', 'cid='.$data_tpsj.id)}" target="_blank">更多&gt;&gt;</a>
                </h1>
                <div class="m_col_con" id="clsj">
                    {foreach $data_tpsj.child as $value}
                    {foreach $value.child as $val}
                    <div class="m_con_child_tp fl">
                        <h2 class="m_con_t"><a href="{:url('data_content/datalist', ['cid'=>$val.id, 'tablename'=>$val.tablename])}"  target="_blank">{$val.name}</a>
                        </h2>
                        <div class="title_pic">
                            <a href="{:url('data_content/detail', ['cid'=>$val.id, 'tablename'=>$val.tablename, 'id'=>$val.home_data.id])}" target="_blank">
                                <img src="{$val.home_data.title_pic}" alt="{$val.home_data.title}"  style="width: 340px; height: 220px;">
                            </a>
                        </div>
                    </div>
                    {/foreach}
                    {/foreach}
                </div>
            </div>
        </div>
    </div>
    <!--主体内容 end-->

    <!-- 底部的版权信息 -->
    <div class="footer inner_c">
        版权所有：国家材料环境腐蚀平台 京ICP备13025191号 京公网安备11010802015897号
    </div>
    <!-- 底部的版权信息 end-->

    <!-- 数据栏目 -->
    <!-- <script type="text/javascript" src="/static/js/edataclass.js"></script> -->
</body>

</html>